home *** CD-ROM | disk | FTP | other *** search
- /*
- SetJmp.h
-
- Copyright Apple Computer, Inc. 1986-1988
- All rights reserved.
- */
-
- #ifndef __SETJMP__
- #define __SETJMP__
-
-
- typedef int *jmp_buf[12]; /* D2-D7,PC,A2-A4,A6,SP */
-
- #ifdef __safe_link
- extern "C" {
- #endif
-
- /*
- * setjmp() must be defined as a macro, according to the ANSI standard.
- * It is equivalent to int setjmp(jmp_buf env).
- */
-
- int __setjmp(jmp_buf env);
- #define setjmp(env) __setjmp(env)
- void longjmp(jmp_buf, int);
-
- #ifdef __safe_link
- }
- #endif
-
- #endif __SETJMP__
-